# cswTest
## A script that automatically does following things

  - Checks out the latest version of [CSW](https://github.com/tmtsoftware/csw) from Git Repository
  - Launches the sbt console and runs the test
  - Redirects the standard output of the test to a file whose filename is TestResults{dateTime}.txt
  - Uploads the above file onto my [Confluence](https://tmt-project.atlassian.net/wiki/spaces/~gireesh.itcc/pages/208764929/Test+Results+of+CSW) using cURL and REST API provided by Confluence
  - Slack notification for failed tests. Using the Slack API to send messages instead of depending on Confluence → Scala  integration.
  
# COPYING

Copyright (C) 2020, 2019, 2018 Girish M

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.
